package com.loong.experiment02.config;

import lombok.Data;

import java.util.List;

@Data // Lombok注解，自动生成getter/setter

public class Student {
    private String name;
    private String stuno;
    private List<String> favorite;
    private ClassInfo classs; // 嵌套类

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getStuno() {
        return stuno;
    }

    public void setStuno(String stuno) {
        this.stuno = stuno;
    }

    public List<String> getFavorite() {
        return favorite;
    }

    public void setFavorite(List<String> favorite) {
        this.favorite = favorite;
    }

    public ClassInfo getClasss() {
        return classs;
    }

    public void setClasss(ClassInfo classs) {
        this.classs = classs;
    }
}

